<<<<<<< HEAD:source/makefile
server:main.cpp
	g++ $^ -o $@ -std=c++17 -lboost_system -lboost_filesystem \
	-I/opt/homebrew/include/ -L/opt/homebrew/opt/boost/lib
=======
.PHONY:all clean
all:test server
SERVER = server
TEST = test
>>>>>>> 080e019c2dfe1ffe0ec9c75ee02120374651660b:makefile

$(SERVER):server.cpp
	g++ $^ -o $@ -std=c++20 -I/opt/homebrew/include/ -I/opt/homebrew/opt/jsoncpp/include \
	-L/opt/homebrew/opt/boost/lib -L/opt/homebrew/opt/jsoncpp/lib \
	-lboost_system -lboost_filesystem -ljsoncpp 
$(TEST):test.cpp
	g++ $^ -o $@ -std=c++20 -lboost_system -lboost_filesystem -I/opt/homebrew/include/  -L/opt/homebrew/opt/boost/lib 
	
clean:
<<<<<<< HEAD:source/makefile
	rm server
=======
	rm $(SERVER) $(TEST)
>>>>>>> 080e019c2dfe1ffe0ec9c75ee02120374651660b:makefile
